package cn.hxzy.client;

import cn.hxzy.domain.Task;
import cn.hxzy.domain.TaskManager;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;
import java.util.List;



@FeignClient(name = "course-service",contextId = "course-service-3")
public interface HomeworkClient {
    @GetMapping("/taskManager/selectTaskByStuName")
    List<TaskManager> getTaskList(@RequestParam("userId") Integer userId);
}
